package com.personal.service.impl;

import com.personal.mapper.TDirectionMapper;
import com.personal.pojo.TDirectionExample;
import com.personal.service.DiretionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DiretionServiceImp implements DiretionService {
    @Autowired
    private TDirectionMapper directionMapper;

    @Override
    public List selectAllDire() {
        TDirectionExample example = new TDirectionExample();
        return directionMapper.selectByExample(example);
    }
}
